package cn.zymall.goods.mapper;

import cn.zymall.common.model.ShoppingCar;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author lxh
 * @Description 购物车持久层
 * @date 2020/8/26 15:09
 * @Classname ShopCarMapper
 **/
@Mapper
public interface ShopCarMapper extends BaseMapper<ShoppingCar> {


	/**
	 * 根据用户id查询购物车
	 * @param id
	 * @return
	 */
	public List<ShoppingCar> findMyShoppingCar(Integer id);


}
